const replaceElement = {
    "///ybyb": "https://z3.ax1x.com/2021/05/30/2VUvAH.png",
    "///wosl": "https://z3.ax1x.com/2021/05/30/2VUSyT.png",
    "///hs": "https://z3.ax1x.com/2021/05/30/2VNzlV.png",
    "///psj": "https://z3.ax1x.com/2021/05/30/2VNjWq.png",
    "///na": "https://z3.ax1x.com/2021/05/30/2VNqoj.png",
    "///bx": "https://z3.ax1x.com/2021/05/30/2VNbwQ.png",
    "///qdqd": "https://z3.ax1x.com/2021/05/30/2VNTOS.png",
    "///zy": "https://z3.ax1x.com/2021/05/30/2VNIQf.png",
    "///nqct": "https://z3.ax1x.com/2021/05/30/2VNlR0.png",
    "///nzqk": "https://z3.ax1x.com/2021/05/30/2VNQGq.png",
    "///mjl": "https://z3.ax1x.com/2021/05/30/2VNuIs.png",
    "///gun": "https://z3.ax1x.com/2021/05/30/2VtyUs.png",
    "///cb": "https://z3.ax1x.com/2021/05/30/2Vtagf.png",
    "///my": "https://z3.ax1x.com/2021/05/30/2VtGEd.png",
    "///mwbq": "https://z3.ax1x.com/2021/05/30/2Vtu36.png",
    "///kx": "https://z3.ax1x.com/2021/05/30/2VYvAs.png",
    "///jl": "https://z3.ax1x.com/2021/05/30/2VY5tI.png",
    "///wyx": "https://z3.ax1x.com/2021/05/30/2VY8f0.png",
    "///ww": "https://z3.ax1x.com/2021/05/30/2VYiTA.png",
    "///mdfq": "https://z3.ax1x.com/2021/05/30/2VJQG6.png",
    "///banzz": "https://z3.ax1x.com/2021/05/30/2VJMPx.png",
    "///mgx": "https://z3.ax1x.com/2021/05/30/2VGyU1.png",
    "///aini": "https://xn--9zr.tk/aini",
    "///aiq": "https://xn--9zr.tk/aiq",
    "///am": "https://xn--9zr.tk/am",
    "///azgc": "https://z3.ax1x.com/2021/05/30/2VJqoR.png",
    "///baiy": "https://xn--9zr.tk/baiy",
    "///bangbangt": "https://xn--9zr.tk/bangbangt",
    "///baojin": "https://xn--9zr.tk/baojin",
    "///bb": "https://xn--9zr.tk/bb",
    "///bkx": "https://xn--9zr.tk/bkx",
    "///bl": "https://xn--9zr.tk/bl",
    "///bobo": "https://xn--9zr.tk/bobo",
    "///bp": "https://xn--9zr.tk/bp",
    "///bq": "https://xn--9zr.tk/bq",
    "///bs": "https://xn--9zr.tk/bs",
    "///bt": "https://xn--9zr.tk/bt",
    "///bu": "https://xn--9zr.tk/bu",
    "///bz": "https://xn--9zr.tk/bz",
    "///cd": "https://xn--9zr.tk/cd",
    "///cengyiceng": "https://xn--9zr.tk/cengyiceng",
    "///cg": "https://z3.ax1x.com/2021/05/30/2VJxSK.png",
    "///ch": "https://xn--9zr.tk/ch",
    "///chi": "https://xn--9zr.tk/chi",
    "///cj": "https://xn--9zr.tk/cj",
    "///cp": "https://xn--9zr.tk/cp",
    "///cs": "https://z3.ax1x.com/2021/05/30/2VJWiq.png",
    "///cy": "https://xn--9zr.tk/cy",
    "///dan": "https://xn--9zr.tk/dan",
    "///dao": "https://xn--9zr.tk/dao",
    "///db": "https://xn--9zr.tk/db",
    "///dg": "https://xn--9zr.tk/dg",
    "///dgg": "https://xn--9zr.tk/dgg",
    "///dk": "https://xn--9zr.tk/dk",
    "///dl": "https://xn--9zr.tk/dl",
    "///doge": "https://xn--9zr.tk/doge",
    "///dx": "https://xn--9zr.tk/dx",
    "///dy": "https://xn--9zr.tk/dy",
    "///dz": "https://xn--9zr.tk/dz",
    "///ee": "https://xn--9zr.tk/ee",
    "///emm": "https://z3.ax1x.com/2021/05/30/2VJjW6.png",
    "///fad": "https://xn--9zr.tk/fad",
    "///fade": "https://xn--9zr.tk/fade",
    "///fan": "https://xn--9zr.tk/fan",
    "///fd": "https://xn--9zr.tk/fd",
    "///fendou": "https://xn--9zr.tk/fendou",
    "///fj": "https://xn--9zr.tk/fj",
    "///fn": "https://xn--9zr.tk/fn",
    "///fw": "https://xn--9zr.tk/fw",
    "///gg": "https://xn--9zr.tk/gg",
    "///gy": "https://xn--9zr.tk/gy",
    "///gz": "https://xn--9zr.tk/gz",
    "///hanx": "https://xn--9zr.tk/hanx",
    "///haob": "https://xn--9zr.tk/haob",
    "///hb": "https://xn--9zr.tk/hb",
    "///hc": "https://xn--9zr.tk/hc",
    "///hd": "https://xn--9zr.tk/hd",
    "///hec": "https://xn--9zr.tk/hec",
    "///hhd": "https://z3.ax1x.com/2021/05/30/2VYpOe.png",
    "///hn": "https://xn--9zr.tk/hn",
    "///hp": "https://xn--9zr.tk/hp",
    "///hq": "https://xn--9zr.tk/hq",
    "///hsh": "https://xn--9zr.tk/hsh",
    "///ht": "https://xn--9zr.tk/ht",
    "///huaix": "https://xn--9zr.tk/huaix",
    "///hx": "https://xn--9zr.tk/hx",
    "///jd": "https://xn--9zr.tk/jd",
    "///jh": "https://xn--9zr.tk/jh",
    "///jiaybb": "https://xn--9zr.tk/jiaybb",
    "///jiaybs": "https://xn--9zr.tk/jiaybs",
    "///jie": "https://xn--9zr.tk/jie",
    "///jk": "https://xn--9zr.tk/jk",
    "///jw": "https://xn--9zr.tk/jw",
    "///jx": "https://xn--9zr.tk/jx",
    "///jy": "https://xn--9zr.tk/jy",
    "///ka": "https://xn--9zr.tk/ka",
    "///kb": "https://xn--9zr.tk/kb",
    "///kel": "https://xn--9zr.tk/kel",
    "///kf": "https://xn--9zr.tk/kf",
    "///kg": "https://xn--9zr.tk/kg",
    "///kk": "https://xn--9zr.tk/kk",
    "///kl": "https://xn--9zr.tk/kl",
    "///kt": "https://xn--9zr.tk/kt",
    "///kuk": "https://xn--9zr.tk/kuk",
    "///kun": "https://xn--9zr.tk/kun",
    "///kzht": "https://xn--9zr.tk/kzht",
    "///lb": "https://xn--9zr.tk/lb",
    "///lengh": "https://xn--9zr.tk/lengh",
    "///lh": "https://xn--9zr.tk/lh",
    "///ll": "https://xn--9zr.tk/ll",
    "///lm": "https://xn--9zr.tk/lm",
    "///lq": "https://xn--9zr.tk/lq",
    "///lw": "https://xn--9zr.tk/lw",
    "///lyj": "https://z3.ax1x.com/2021/05/30/2VJhWV.png",
    "///meigui": "https://xn--9zr.tk/mg",
    "///mm": "https://xn--9zr.tk/mm",
    "///ng": "https://xn--9zr.tk/ng",
    "///nkt": "https://z3.ax1x.com/2021/05/30/2VJrQS.png",
    "///oh": "https://xn--9zr.tk/oh",
    "///oy": "https://z3.ax1x.com/2021/05/30/2VJ4zT.png",
    "///pch": "https://xn--9zr.tk/pch",
    "///pj": "https://xn--9zr.tk/pj",
    "///pp": "https://xn--9zr.tk/pp",
    "///pt": "https://xn--9zr.tk/pt",
    "///px": "https://xn--9zr.tk/px",
    "///qd": "https://xn--9zr.tk/qd",
    "///qiang": "https://xn--9zr.tk/qiang",
    "///qiao": "https://xn--9zr.tk/qiao",
    "///qq": "https://xn--9zr.tk/qq",
    "///qt": "https://xn--9zr.tk/qt",
    "///ruo": "https://xn--9zr.tk/ruo",
    "///sa": "https://xn--9zr.tk/sa",
    "///se": "https://xn--9zr.tk/se",
    "///sh": "https://xn--9zr.tk/sh",
    "///shd": "https://xn--9zr.tk/shd",
    "///shl": "https://xn--9zr.tk/shl",
    "///shuai": "https://xn--9zr.tk/shuai",
    "///shui": "https://xn--9zr.tk/shui",
    "///shxi": "https://xn--9zr.tk/shxi",
    "///sr": "https://xn--9zr.tk/sr",
    "///tiao": "https://xn--9zr.tk/tiao",
    "///tl": "https://xn--9zr.tk/tl",
    "///tnl": "https://xn--9zr.tk/tnl",
    "///tp": "https://xn--9zr.tk/tp",
    "///ts": "https://xn--9zr.tk/ts",
    "///tsh": "https://xn--9zr.tk/tsh",
    "///tt": "https://z3.ax1x.com/2021/05/30/2VJIQU.png",
    "///tuu": "https://xn--9zr.tk/tuu",
    "///tx": "https://xn--9zr.tk/tx",
    "///taiyang": "https://xn--9zr.tk/ty",
    "///tyt": "https://xn--9zr.tk/tyt",
    "///wbk": "https://xn--9zr.tk/wbk",
    "///whl": "https://z3.ax1x.com/2021/05/30/2VJHeJ.png",
    "///wl": "https://xn--9zr.tk/wl",
    "///wn": "https://xn--9zr.tk/wn",
    "///wq": "https://xn--9zr.tk/wq",
    "///ws": "https://xn--9zr.tk/ws",
    "///wul": "https://z3.ax1x.com/2021/05/30/2VJfJ0.png",
    "///wx": "https://xn--9zr.tk/wx",
    "///wzm": "https://xn--9zr.tk/wzm",
    "///xhx": "https://xn--9zr.tk/xhx",
    "///xia": "https://xn--9zr.tk/xia",
    "///xig": "https://xn--9zr.tk/xig",
    "///xin": "https://xn--9zr.tk/xin",
    "///xjj": "https://xn--9zr.tk/xjj",
    "///xk": "https://xn--9zr.tk/xk",
    "///xs": "https://xn--9zr.tk/xs",
    "///xu": "https://xn--9zr.tk/xu",
    "///xw": "https://xn--9zr.tk/xw",
    "///xy": "https://xn--9zr.tk/xy",
    "///xyx": "https://xn--9zr.tk/xyx",
    "///yao": "https://xn--9zr.tk/yao",
    "///yb": "https://xn--9zr.tk/yb",
    "///yhh": "https://xn--9zr.tk/yhh",
    "///yiw": "https://xn--9zr.tk/yiw",
    "///yl": "https://xn--9zr.tk/yl",
    "///youl": "https://xn--9zr.tk/youl",
    "///youtj": "https://xn--9zr.tk/youtj",
    "///yt": "https://xn--9zr.tk/yt",
    "///yun": "https://xn--9zr.tk/yun",
    "///yx": "https://xn--9zr.tk/yx",
    "///zhd": "https://xn--9zr.tk/zhd",
    "///zhem": "https://xn--9zr.tk/zhem",
    "///zhh": "https://xn--9zr.tk/zhh",
    "///zhm": "https://xn--9zr.tk/zhm",
    "///zhq": "https://xn--9zr.tk/zhq",
    "///zj": "https://xn--9zr.tk/zj",
    "///zk": "https://xn--9zr.tk/zk",
    "///zq": "https://xn--9zr.tk/zq",
    "///zt": "https://xn--9zr.tk/zt",
    "///zuotj": "https://xn--9zr.tk/zuotj",
    "///114514": "[https://z3.ax1x.com/2021/05/30/2Eook9.png)](https://github.com/Maxmilite/LuoguEmojiSender",
};

function applyEmoji(str){
    for(var i in replaceElement){
        str=str.replace(new RegExp(i,'g'),'<img class="emoji-img" src="'+replaceElement[i]+'">');
    }
    str=str.replace(/\\<br>/g,'\\\\<br>');
    return str;
}

window.addEventListener('DOMContentLoaded',(event)=>{
    var container=document.querySelector('.post-content');
    container.innerHTML=applyEmoji(container.innerHTML);
    document.dispatchEvent(new Event('ContentInited'));
});